package cn.com.yang.algorithm.v2;

/**
 * @Author 杨亿金
 * @Date 2022/4/7 21:08
 * @CopyRight
 * @Version
 */

import org.bouncycastle.math.ec.ECPoint;

import java.math.BigInteger;

/**
 * SM2密钥对Bean
 * @author Potato
 *
 */
public class SM2KeyPair {


    private  ECPoint publicKey;
    private  BigInteger privateKey;
    public SM2KeyPair(ECPoint publicKey, BigInteger privateKey) {
        this.publicKey = publicKey;
        this.privateKey = privateKey;
    }

    public ECPoint getPublicKey() {
        return publicKey;
    }

    public BigInteger getPrivateKey() {
        return privateKey;
    }


}

